package thinkingJava.chapter15;

public class CountObject {
	private static long counter = 0;
	private final long id = counter++;
	public long id() {
		return id;
	}
	public String toString() {
		return "CountObject " + id;
	}
}
